com.atlassian.jira.rpc.soap.service
Class RemoteWorklogImpl
java.lang.Object
com.atlassian.jira.rpc.soap.beans.RemoteWorklog
com.atlassian.jira.rpc.soap.service.RemoteWorklogImpl
class RemoteWorklogImpl
- extends RemoteWorklog
A little PACKAGE LEVEL implementation of RemoteWorklog that allows the
read only constructor to be accessed. This way RemoteWorklog does not have setters for things that cant be set!
|
Constructor Summary |
RemoteWorklogImpl(java.lang.String id,
java.lang.String author,
java.lang.String updateAuthor,
java.util.Date created,
java.util.Date updated,
java.lang.String timeSpent,
long timeSpentInSeconds)
|
|
Method Summary |
(package private) static RemoteWorklog |
copyToRemoteWorkLog(Worklog worklog,
JiraDurationUtils jiraDurationUtils)
Copies the local Worklog object into a RemoteWorklog object with the required semantics. |
| Methods inherited from class com.atlassian.jira.rpc.soap.beans.RemoteWorklog |
equals, getAuthor, getComment, getCreated, getGroupLevel, getId, getRoleLevelId, getStartDate, getTimeSpent, getTimeSpentInSeconds, getUpdateAuthor, getUpdated, hashCode, setComment, setGroupLevel, setId, setRoleLevelId, setStartDate, setTimeSpent |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RemoteWorklogImpl
RemoteWorklogImpl(java.lang.String id,
java.lang.String author,
java.lang.String updateAuthor,
java.util.Date created,
java.util.Date updated,
java.lang.String timeSpent,
long timeSpentInSeconds)
copyToRemoteWorkLog
static RemoteWorklog copyToRemoteWorkLog(Worklog worklog,
JiraDurationUtils jiraDurationUtils)
- Copies the local Worklog object into a RemoteWorklog object with the required semantics.
- Parameters:
worklog - the worklog to copyjiraDurationUtils - jira duration utils object to format time; must not be null
- Returns:
- a RemoteWorklog that represents the Worklog to be copied; null if the original worklog was null